A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Market_research_model.php

Line Number: 54

Backtrace:

File: /home/idatumresearcher/public_html/application/models/Market_research_model.php
Line: 54
Function: _error_handler

File: /home/idatumresearcher/public_html/application/controllers/Market_research.php
Line: 24
Function: get_id_by_title

File: /home/idatumresearcher/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Market_research_model.php

Line Number: 63

Backtrace:

File: /home/idatumresearcher/public_html/application/models/Market_research_model.php
Line: 63
Function: _error_handler

File: /home/idatumresearcher/public_html/application/controllers/Market_research.php
Line: 27
Function: get_txt_by_title

File: /home/idatumresearcher/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/idatumresearcher/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/idatumresearcher/public_html/application/models/Market_research_model.php
Line: 42
Function: get

File: /home/idatumresearcher/public_html/application/controllers/Market_research.php
Line: 28
Function: header_title_market_research

File: /home/idatumresearcher/public_html/index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and `status` =0 ORDER BY `sub_cat_id` DESC' at line 3

SELECT * FROM `o_idatum_market_sub_category` WHERE `market_id_frk` = and `status` =0 ORDER BY `sub_cat_id` DESC

Filename: models/Market_research_model.php

Line Number: 42